package com.nobug;

import java.awt.image.BufferedImage;

/**
 * @author 389561407@qq.com
 * @version 1.0
 * @since 2022-12-28
 */
public class MyImageData {

    private int x;

    private int y;

    private int width;

    private int height;

    private BufferedImage bufferedImage;

    private double match;

    public MyImageData(int x, int y, int width, int height, BufferedImage bufferedImage, double match) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
        this.bufferedImage = bufferedImage;
        this.match = match;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public BufferedImage getBufferedImage() {
        return bufferedImage;
    }

    public void setBufferedImage(BufferedImage bufferedImage) {
        this.bufferedImage = bufferedImage;
    }

    public double getMatch() {
        return match;
    }

    public void setMatch(double match) {
        this.match = match;
    }
}
